home *** CD-ROM | disk | FTP | other *** search
/ Games of Daze / Infomagic - Games of Daze (Summer 1995) (Disc 1 of 2).iso / x2ftp / msdos / indeo / dgvpla / makefile < prev    next >
Encoding:
Makefile  |  1992-07-24  |  1.4 KB  |  53 lines

  1. #********************************************************************
  2. #
  3. #  PROGRAM: MAKEFILE
  4. #
  5. #  PURPOSE: Sample Interactive Player Demonstration make file.
  6. #
  7. #       Microsoft NMAKE command file to build dgvplayr. The macro
  8. #       RELEASE is used to turn on optimizations.
  9. #
  10. #       To build a version that can be debugged with CodeView:
  11. #
  12. #               nmake /f dgvplayr.mak
  13. #
  14. #       To build a version that is optimized:
  15. #
  16. #               nmake RELEASE= /f dgvplayr.mak
  17. #
  18. #
  19. #  RELEASE NOTES:
  20. #     Version - 3/13/92
  21. #
  22. #  Copyright Intel Corp. 1990, 1992
  23. #  All Rights Reserved
  24. #
  25. #********************************************************************
  26.  
  27. # Standard MS Windows MS C compiler options are used.
  28. # Since we only support Windows Enhanced mode, we use the /G2 option,
  29. # and the -T option on the resource compiler.
  30. # Note that we also include the DGV import lib in the link.
  31.  
  32. CMODE=
  33.  
  34. !IFDEF RELEASE
  35. CFLAGS = /c /AM /Gw /W3 /Zp1 /G2 /Gs /Oegilcs $(CMODE)
  36. LFLAGS = /MAP /ALIGNMENT:16 /NOD
  37. !ELSE
  38. CFLAGS = /c /AM /Gw /W3 /Zp1 /G2 /Ge /Od /Zi $(CMODE)
  39. LFLAGS = /MAP /ALIGNMENT:16 /NOD /CO
  40. !ENDIF
  41. MSLIBS = libw mlibcew commdlg oldnames mmsystem
  42.  
  43. dgvplayr.exe : $*.obj $*.def $*.res
  44.     link $(LFLAGS) $*.obj, $*.exe, $*.map, $(MSLIBS), $*.def
  45.     rc -T $*.res
  46.  
  47. dgvplayr.res : $*.rc $*.h $*.ico playback.ico
  48.     rc -r $*.rc
  49.  
  50. dgvplayr.obj : $*.c $*.h 
  51.     cl $(CFLAGS) $*.c > $*.err
  52.  
  53.